package com.noob;

import com.noob.beans.Dog;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class MainStarter {

    public static void main(String[] args) {
        ApplicationContext applicationContext=new ClassPathXmlApplicationContext("${env:test1}application.xml");
        Dog dog = applicationContext.getBean(Dog.class);
        System.out.println(dog);
    }

    public void demo(){

    }
}


